﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Dict;
using Ewell.Interface.Common.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class DictCloudUserDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.dict.service.inter.dubbo.DictCloudUserDubboService";
        public GateWayMethod queryPageDictUser => new QueryPageDictUser(url);
    }

    public class QueryPageDictUser : GateWayMethod
    {
        public QueryPageDictUser(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryPageDictUser";

        public override string paramClass => "cc.ewell.his.dict.upon.dictuser.DictUserQueryRequest";

        public override Type requestParamType => typeof(DictUserQueryRequest);

        public override Type responseParamType => typeof(List<DictUserResponse>);

        public override DubboParamType paramType => DubboParamType.defaultParam;
    }
}
